package com.hjm.project.actTransactionCompliance.compliance.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 交易额返现阶梯对象 act_transaction_compliance
 * 
 * @author LOVE
 * @date 2020-11-29
 */
public class ActTransactionCompliance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 活动id */
    @Excel(name = "活动id")
    private Long actId;

    /** 0 交易达标返现 1 服务费返现 */
    @Excel(name = "0 交易达标返现 1 服务费返现")
    private Long type;

    /** 考核期（天） */
    @Excel(name = "考核期", readConverterExp = "天=")
    private Long assessmentPeriod;

    /** 阶段id */
    @Excel(name = "阶段id")
    private String stageId;

    /** 返现周期 0 日反 1 月返 */
    @Excel(name = "返现周期 0 日反 1 月返")
    private Long returnCycle;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setActId(Long actId)
    {
        this.actId = actId;
    }

    public Long getActId()
    {
        return actId;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setAssessmentPeriod(Long assessmentPeriod)
    {
        this.assessmentPeriod = assessmentPeriod;
    }

    public Long getAssessmentPeriod()
    {
        return assessmentPeriod;
    }
    public void setStageId(String stageId)
    {
        this.stageId = stageId;
    }

    public String getStageId()
    {
        return stageId;
    }
    public void setReturnCycle(Long returnCycle)
    {
        this.returnCycle = returnCycle;
    }

    public Long getReturnCycle()
    {
        return returnCycle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("actId", getActId())
            .append("type", getType())
            .append("assessmentPeriod", getAssessmentPeriod())
            .append("stageId", getStageId())
            .append("returnCycle", getReturnCycle())
            .toString();
    }
}
